import { createApp } from 'vue'
import App from './App.vue'

import * as echarts from 'echarts/core';
import { BarChart, PieChart , MapChart , ScatterChart , LinesChart } from 'echarts/charts'; 
import { Bar3DChart  } from "echarts-gl/charts";
import {
  TitleComponent,
  TooltipComponent,
  GridComponent,
  LegendComponent,
  GraphicComponent, 
  DatasetComponent ,
  GeoComponent ,
  DataZoomComponent

} from 'echarts/components';
// import {} from "echarts-gl"
import 'echarts-gl'
import { CanvasRenderer } from 'echarts/renderers';
import "./style.css"

echarts.use([
  TitleComponent,
  TooltipComponent,
  GridComponent,
  LegendComponent,
  GraphicComponent,
  DatasetComponent,
  GeoComponent ,
  DataZoomComponent,
  BarChart,
  PieChart,
  CanvasRenderer,
  MapChart,
  ScatterChart ,
  LinesChart,
  Bar3DChart
]);


const app = createApp(App)



app.mount('#app')